package com.jianbo.demo;

import com.jianbo.proxy.Start;
import com.jianbo.proxy.conf.ArgsConf;

public class AceStart {

    // mock 启动参数 
    public static String[] getArgs() {
        String baseDir = "D:/www/jianbo-http-proxy/smart-http-proxy/src/test/resources/ace/";
        String[] args = {
            // 配置目录
            "confDir="+baseDir+"conf/",
            // 前端目录
            "frontDir="+baseDir+"front/",
        };
        return args;
    }
    
    public static void main(String[] args) {
        args = getArgs(); 
        ArgsConf.getInstance(args);
        Start.main(args);
    }
    
}
